package kr.hkit.powerjava.chapter4;

import java.util.Scanner;

public class CircleArea {
	private static Scanner input;

	public static void main(String[] args) {
		input = new Scanner(System.in);
		
		double r;
		double area;
		double pi = 3.14;
		
		System.out.println("반지름 값을 입력하시요.");
		
		r = input.nextDouble();
		
		area = pi * r * r;
		
		System.out.println("원의 면적은 " + area);
		
		
	}

}
